package com.mis.pos.form;

/**
 * @description: 下架商品传输表格
 * @author: yuxiang
 * @create: 2020-01-03 01:22
 **/
public class IsSaledForm {

    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 是否在售卖 1表示售卖中 0表示已经下架
     */
    private int isSaled;

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public int getIsSaled() {
        return isSaled;
    }

    public void setIsSaled(int isSaled) {
        this.isSaled = isSaled;
    }

    public IsSaledForm(Long itemId, int isSaled) {
        this.itemId = itemId;
        this.isSaled = isSaled;
    }

    @Override
    public String toString() {
        return "IsSaledForm{" +
                "itemId=" + itemId +
                ", isSaled=" + isSaled +
                '}';
    }
}
